<div class="col-md-10 col-md-offset-1" id="news">
<?php
/* display message saved in session if any */
echo $this->Session->flash();

foreach ($this->Session->read('news') as $singleNews){ ?>
	<div class="col-md-12 img-thumbnail form-group">
		<h1><span class="glyphicon glyphicon-info-sign"></span><?PHP echo $singleNews['News']['subject']; ?></h1>
		<hr />
		<div class="form-group">
			<span class="label label-default col-md-4">Erstellt</span>
			<span class="col-xs-offset-1">
			<?PHP echo $singleNews['News']['created']; ?>
			</span>
		</div>
		<div class="form-group">
			<?PHP echo $singleNews['News']['news']; ?>
		</div>
		<?PHP
		if($this->Session->read('Auth.User.rangID') > 1){
		?>
		<hr />
		<ul class="nav nav-pills">
			<?PHP
				/* link Mitglieder */
				echo $this->Html->tag('li', $this->Html->link('Entfernen', array('controller' => 'news', 'action' => 'delete', $singleNews['News']['id']) , null));
			?>
		</ul>
		<?PHP
		}
		?>
	</div>
<?PHP
}
?>
</div>